package com.blackitheima1.test3;

public class TestInterface {
    public static void main(String[] args) {
        //创建实现类对象
        InterImple inter=new InterImple();
        inter.show();
    }
}

//实现类
class InterImple implements InterA,InterB{

    @Override
    public void show() {
        System.out.println("我是实现类中的show方法");
    }
}